-
Notifications
You must be signed in to change notification settings - Fork 750
Add CoreMLQuantizer in coremltools.optimize.torch to support PyTorch Export based quantization
#2162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
coremltools.optimize.torch to support PyTorch Export QuantizerCoreMLQuantizer in coremltools.optimize.torch to support PyTorch Export based quantization
53b2b7c to
6af4a4c
Compare
|
Added 2 changes:
Testing: ✅
|
YifanShenSZ
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! We are now one step closer to ExecuTorch CoreMLQuantizer! Thanks for the great work!
|
@pulkital @YifanShenSZ we are deprecating pt2e quantization from pytorch/pytorch (pytorch/pytorch#169151), wondering if you can help updating the callsites to import from torchao instead?
before after: |
|
please take a look #2634 |
Adds a
CoreMLQuantizerwhich extends PyTorch 2.0 Export Quantizer to enable CoreML quantization rules.Usage: